﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using Entidades;

namespace ServicioEvaluacion
{
    [ServiceContract]
    public interface IHistoriales
    {
        [OperationContract]
        bool Agregar(Historial nuevoHistorial);

        [OperationContract]
        bool Modificar(Historial historialaAModificar);

        [OperationContract]
        bool Eliminar(Historial historialAEliminar);

        [OperationContract]
        List<Historial> ObtenerHistoriales(string examenCodigo = "", DateTime? fechaHoraInicio = null);

        [OperationContract]
        Historial ObtenerHistorial(string examenCodigo);

        [OperationContract]
        bool AgregarIntento(string codigoExamen);


    }
}
